package ru.kop4en.diplom.figure;

import java.awt.event.ActionListener;

import javax.swing.JPanel;
import javax.swing.BoxLayout;
import javax.swing.JButton;

public class LeftFigurePanel extends JPanel
{
	private static final long serialVersionUID = 1L;

	public LeftFigurePanel() {
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		
		add(prev_button);
	}

	public void addPrevHandler(ActionListener mainWindow)
	{
		prev_button.addActionListener(mainWindow);		
	}
	
	//==============================
	JButton prev_button = new JButton("Video");
}
